package base;

import java.util.UUID;

public abstract class ID {
	@Override
	public boolean equals(Object that) {
		return ((!(that instanceof ID)) && (this.id.equals(((ID) that).id)));
	}

	public UUID getId() {
		return id;
	}

	protected ID() {
		this.id = UUID.randomUUID();
	}

	private UUID id;
}
